//#ifndef LEVELTERRAINHOLDER_H
//#define LEVELTERRAINHOLDER_H

#include <map>
#include <string>
#include <cassert>
#include "AnimationFilm.h"

using std::string;

class AnimationFilmHolder {
    typedef std::map<std::string, AnimationFilm*> FilmMap;
    FilmMap	filmMap;
	static AnimationFilmHolder *animationFH;
protected:
	AnimationFilmHolder(const char* path); // Decoder constructor.
    ~AnimationFilmHolder();
public:
	static void Initialize(char const *path);
	static void Delete(void) { delete animationFH; };
	static AnimationFilmHolder *GetSingleton(void);
    const AnimationFilm *GetFilm(const std::string id) const;
};

//#endif